﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="news_search_frame.aspx.cs"
    Inherits="Ccit.OA.NewsCenter.news_search_frame" %>
<%@ Register TagPrefix="ccit" Namespace="Ccit.ServerControls" Assembly="Ccit.ServerControls.ActionForm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>信息中心-信息查询</title>

    <script language="javascript" src="../script/jquery.js" type="text/javascript"></script>

    <script language="javascript" src="../script/StringClass_Ext.js" type="text/javascript"></script>

    <script language="javascript" src="../script/jsonlib.js" type="text/javascript"></script>

    <script language="javascript" src="../script/jcontrol.js" type="text/javascript"></script>
    
    <script language="javascript" src="../script/jwindow.js" type="text/javascript"></script>
    
    <script language="javascript" type="text/javascript">
    //快捷查询
      function getFastClause(){
         var dropDown = new DropDownList("ddlQuery");
         var vType = document.getElementById("_hidType").value;
         var selValue = dropDown.selectedValue;
          var vPageParam = "Type="+vType+"&fastClause="+selValue;
		  var encodeParam = base64encode(vPageParam);
          document.getElementById("iFrmList").src="news_search_list.aspx?" + encodeParam;
      }
      //查询条件设置
      function OpenSearchClause(){
         var Type=document.getElementById("_hidType").value;
         var vPageParam = "Type="+Type+"&PageSource=2&TABID="+document.getElementById("_hidTabId").value;
		 var encodeParam = base64encode(vPageParam);
		 
         document.location="news_queryset_frame.aspx?" + encodeParam;
      }
    </script>

</head>
<body>
    <ccit:ActionForm id="form1" runat="server">
    <input id="_hidType" type="hidden" runat="server" />
    <input id="_hidTabId" type="hidden" runat="server" />
    <table class="tbToolbar" cellpadding="0" cellspacing="0" width="98%" align="center">
        <tr>
            <td align="left">
                <div class="tbSeparator">
                </div>
            </td>
            <td width="100%" class="titlebar">
                信息中心-信息列表
            </td>
            <td align="right">
                <nobr>
                   快捷条件:<asp:DropDownList ID="ddlQuery"  CssClass="select" Width="160" runat="server"></asp:DropDownList>
                   
                    <a href="javascript:getFastClause()" class="linktext">
                        <img src="../images/toolbar/search.gif" />查询 &nbsp;&nbsp;
                    </a>
                    <a href="javascript:OpenSearchClause()" class="linktext">
                       <img src="../images/toolbar/bdgsdy/design.gif" />设置查询条件
                    </a>
                </nobr>
            </td>
            <td align="right">
                &nbsp;
            </td>
            <td align="right">
                &nbsp;
            </td>
        </tr>
    </table>
    
    <table border="0" class="tableborder" cellpadding="0" cellspacing="0" style="width: 98%;
        height: 100%" align="center">
        <tr>
            <td style="width: 22%; height: 98%" valign="top">
                <iframe scrolling="no" id="iFrmTree" name="iFrmTree" runat="server" width="98%" src=""
                    style="border-right: #000000 1px solid" height="100%" frameborder="0"></iframe>
            </td>
            <td style="width: 78%; height: 98%" align="center" valign="top">
                <iframe id="iFrmList" name="iFrmList" width="99%" src="" height="100%"
                    scrolling="auto" frameborder="0" runat="server"></iframe>
            </td>
        </tr>
    </table>
    
    </ccit:ActionForm>
</body>
</html>
